package com.yc.hotel.mapper;

import java.util.List;
import java.util.Map;

import com.yc.hotel.entity.OrderInfo;
import com.yc.hotel.dto.OrderInfoDTO;

public interface IOrderInfoMapper {

	int add(OrderInfo order);

	int update(Map<String, Object> map);

	List<OrderInfo> finds(Map<String, Object> map);
	
	List<OrderInfoDTO> findRoom(Map<String, Object> map);

	int endRent(Map<String, Object> map);
	
	int days(Map<String, Object> map);

	int updatePrice(Map<String, Object> map);

	OrderInfo findByOno(String ono);

	int  newOno(Map<String, Object> map);

}
